 <{include file="header.html"}>
<!--  head end-->
<link href="..tpl/css/buju.css" rel="stylesheet" type="text/css" />
<link href="..tpl/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="..tpl/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<!--  main start -->
<div id="main">
    <div class="breadcrumb">
        <li>
            <a href="<{spUrl c=main a=index}>">首页</a><span class="divider">/</span>
        </li>
        <li>
            <a href="<{spUrl c=main a=category classid=$id}>"><{$cname}></a><span class="divider">/</span>
        </li>
    </div>
    <div class="row-fluid container-min-height">
        <div class="span3">
            <div class="well">
              <ul class="nav nav-list">
                <li class="active"><a href="javascript:history.go(-1);">返回</a></li>
                <{foreach item=subname from=$subclass key=enname}>
                    <{if $currentcid == $subname.id}>
                        <li class="active"><a href="<{spUrl c=main a=category classid=$subname.id}>"><{$subname.cname}></a></li>
                    <{else}>
                        <li><a href="<{spUrl c=main a=category classid=$subname.id}>"><{$subname.cname}></a></li>
                    <{/if}>
                <{/foreach}>
              </ul>
            </div>
        </div>
        <div class="span9">
            <!--<div class="alert alert-info">相关法规</div>-->
            <table class="table table-striped table-bordered table-condensed font-black f12">
                <thead>
                    <tr>
                    	<th>文件名</th>
                        <th>下载地址</th>
                    	<th>发布日期</th>
                    </tr>
                </thead>
                <tbody>
                        <{foreach item=info from=$result key=enname}>
                            <tr>
                                <td><{$info.sourcefile}></td>
                                <td><a href="kindeditor\attached\file\<{$info.newfile}>">点击下载</a></td>
                                <td><{$info.datatimes}></td>
                            </tr>
                       <{/foreach}>
                </tbody>
            </table>
            <div class="pagination">
              <ul>
              <{if $pager}>
                <{if $pager.current_page != $pager.first_page}>
                <li><a href="<{spUrl c=main a=category classid=$colorname.classid page=$pager.first_page}>">前页</a></li>
                <li><a href="<{spUrl c=main a=category classid=$colorname.classid page=$pager.prev_page}>">上一页</a></li>
                <{/if}>           
                <{foreach from=$pager.all_pages item=thepage}>
                    <{if $thepage != $pager.current_page}>
                        <li><a href="<{spUrl c=main a=category classid=$colorname.classid page=$thepage}>"><{$thepage}></a></li>
                    <{else}>
                        <li class="active"><a><{$thepage}></a></li>
                    <{/if}>
                <{/foreach}>
                <{if $pager.current_page != $pager.last_page}>
                  <li><a href="<{spUrl c=main a=category classid=$colorname.classid page=$pager.next_page}>">下一页</a></li>
                  <li><a href="<{spUrl c=main a=category classid=$colorname.classid page=$pager.last_page}>">后页</a></li>
                <{/if}>
              <{/if}>
              </ul>
            </div>
        </div>
    </div>
</div><!--  main end-->
<{include file="footer.html"}>


